button {
  position: relative;
  padding: 15px 45px;
  background: #E8E8E4;
  font-size: 17px;
  font-weight: 500;
  color: #181818;
  cursor: pointer;
  border: 1px solid #E8E8E4;
  border-radius: 8px;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.2));
}

button:hover {
  border: 1px solid #f3b182;
  background: linear-gradient(
    85deg,
    #fec195,
    #fcc196,
    #fabd92,
    #fac097,
    #fac39c
  );
  animation: wind 2s ease-in-out infinite;
}

@keyframes wind {
  0% {
    background-position: 0% 50%;
  }

  0% {
    background-position: 50% 100%;
  }

  0% {
    background-position: 0% 50%;
  }
}

.icon-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 25px;
  transform-origin: 0 0;
  transform: rotate(10deg);
  transition: all 0.5s ease-in-out;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.3));
}

button:hover .icon-1 {
  animation: slay-1 3s cubic-bezier(0.52, 0, 0.58, 1) infinite;
  transform: rotate(10deg);
}

@keyframes slay-1 {
  0% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(10deg);
  }
}

.icon-2 {
  position: absolute;
  top: 0;
  left: 25px;
  width: 12px;
  transform-origin: 50% 0;
  transform: rotate(10deg);
  transition: all 1s ease-in-out;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.5));
}

button:hover .icon-2 {
  animation: slay-2 3s cubic-bezier(0.52, 0, 0.58, 1) 1s infinite;
  transform: rotate(0);
}

@keyframes slay-2 {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(15deg);
  }

  100% {
    transform: rotate(0);
  }
}

.icon-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  transform-origin: 50% 0;
  transform: rotate(-5deg);
  transition: all 1s ease-in-out;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.5));
}

button:hover .icon-3 {
  animation: slay-3 2s cubic-bezier(0.52, 0, 0.58, 1) 1s infinite;
  transform: rotate(0);
}

@keyframes slay-3 {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0);
  }
}

/*buton end*/

.bodysection {
  margin: 0;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.container {
  display: flex;
  background-color: #f8eaea;
  width: 80%;
  height: 80vh;
  min-height: 600px;
  margin:40px auto;
  padding: 40px;
  border-radius: 10px;
  position: relative;
  flex-wrap: wrap;
}
.sidebar {
  width: 70px;
  background-color:  #f8eaea;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 0;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1000;
}
.sidebar .icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 50%;
}
.sidebar img {
  width: 30px;
  margin: 10px 0;
  cursor: pointer;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.sidebar img:hover {
  transform: scale(1.2);
  opacity: 0.8;
}
.content-area {
  flex: 1;
  margin-left: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.nav {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  color: rgb(149, 90, 90);
  font-family: "Barlow", serif;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease, padding-bottom 0.3s ease;
}

.nav a:hover {
  color: #ff6347; /* Tomato color */
  padding-bottom: 10px;
  border-bottom: 2px solid #ff6347;
}
.main-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  flex-grow: 1;
  gap: 10px;
}
/*new added*/
.main-content .content,
.main-content .image {
  
  transform: translateX(30px) scale(0.95);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.main-content .content.visible,
.main-content .image.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}


/*added*/
.content {
  max-width: 50%;
}
h1 {
  font-size: 32px;
  font-family: "Katibeh",serif;
}
p {
  font-size: 16px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

}
.download-btn {
  display: inline-block;
  padding: 15px 30px;
  
  
  text-decoration: none;
  color: black;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}



.contact-info p {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/*@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-fade {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}*/


.contact-info p:hover {
  transform: scale(1.05);
  opacity: 0.8;
}
.image img {
  width: 100%;
  max-width: 300px;
  border-radius: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.image img:hover {
  transform: scale(1.05);
  opacity: 0.8;
}
.contact-info {
  display: flex;
  justify-content: space-around;
  margin-top: auto;
  font-size: 14px;
  width: 100%;
  flex-wrap: wrap;
  opacity: 30%;
  margin-left: -30px;
  
}


@media (max-width: 850px) {
  .container {
      width: 90%;
      padding: 20px;
      height: auto;
      
  }
  .content-area {
      margin-left: 0;
      justify-content: flex-start;
      margin-top: 50px;
  }
  .main-content {
      flex-direction: column;
      text-align: center;
  }
  .content, .image {
      max-width: 80%;
  }
  .contact-info {
      flex-direction: column;
      text-align: center;
  }
  .nav {
      justify-content: center;
  }
  .nav a{
    font-size: 13px;
  }

  .download-btn{
    margin-bottom: 20px;
  }
  .sidebar {
    width: 40px;
    height: 100%;
    border-radius: 10px;
    position: fixed;
    top: 0;
    opacity: 70%;
  }
  .sidebar .icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 50%;
    
  }
  .sidebar img {
    width: 20px;
    margin: 8px 0;
    cursor: pointer;
  }
}

@media (max-width: 920px) {
  .container {
      width: 90%;
      padding: 20px;
      height: auto;
      
  }
  .content-area {
    margin-left: 0;
    justify-content: flex-start;
    margin-top: 100px;
  }
  .main-content {
      flex-direction: column;
      text-align: center;
  }
  .content, .image {
      max-width: 80%;
  }
  .contact-info {
      flex-direction: column;
      text-align: center;
  }
  .nav {
      justify-content: center;
  }
  .nav a{
    font-size: 13px;
  }

  .download-btn{
    margin-bottom: 20px;
  }
  .sidebar{
    width: 40px;
    height: 30%;
    border-radius: 10px;
  }
  .sidebar .icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 50%;
    
  }
  .sidebar img {
    width: 28px;
    margin: 10px 0;
    cursor: pointer;
  }
}

.menu-icon {
  display: none;
  cursor: pointer;
  font-size: 24px;
  position: absolute;
  top: 10px;
  right: 20px;
}


@media (max-width: 850px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
    position: fixed;
    z-index: 1000;
    opacity: 80%;
    
  }
  .nav.active {
    display: flex;
  }
  .menu-icon {
    display: block;
    position:fixed;
    z-index: 1000;
    
  }
  .navbar2{
    display: none;
  }

}

/*about section*/
.about {
  width: 100%;
  padding: 40px 20px;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  margin: 0 auto;
  overflow: hidden;
}


.logomain {
  display: flex;
  align-items: center; 
}

/* about section-----------section2*/
header {
  position: fixed; /* Keeps it at the top */
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  padding: 10px 50px;
  background-color: rgb(255, 255, 255);
  box-sizing: border-box; 
  transform: translateY(-100%);
  transition: transform 0.5s ease-in-out;
  z-index: 1000; /* Ensures it appears above other content */
}

header.visible {
  transform: translateY(0);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}


.circlelogo {
  width: 40px;
  height: 40px;
  border: 1px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  border-radius: 50%;
}


.namelogo {
  margin-left: 10px;
  font-size: 18px;
}

.nav2 ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}


.nav2 ul li a {
  text-decoration: none;
  font-size: 14px;
  color: black;
  font-family: "Barlow", serif;
  padding: 5px; 
  transition: color 0.3s;
  position: relative;
}

.nav2 ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: black;
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}

.nav2 ul li a:hover {
  color: #ff4a57;
}

.nav2 ul li a:hover::after {
  width: 100%;
}


.firstrow, .secondrow {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  gap: 20px;
  justify-content: center;
  opacity: 0.3;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.firstrow.show, .secondrow.show {
  opacity: 1;
  transform: translateY(0);
}


.mission {
  flex: 1;
  min-width: 280px;
  
  display: flex;
  justify-content: center;
  align-items: center;
}

.mission div {
  background-color: #fff0f3;
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.mission div:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mission div h3 {
  font-size: 40px;
  margin-bottom: 10px;
  opacity: 0.8;
  margin-top: 10px;
}

.mission div p {
  font-size: 16px;
}

.abouts, .education, .images {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.abouts img, .education img, .images img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}
.abouts img:hover, .education img:hover{
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}



@media (max-width: 920px) {
  .firstrow, .secondrow {
    flex-direction: column;
    align-items: center;
  }

  .mission div {
    max-width: 90%;
    margin-top: 60px;
  }

  .mission div h3 {
    font-size: 30px;
  }

  .mission div p {
    font-size: 14px;
  }
}

@media (max-width: 468px) {
  .firstrow, .secondrow {
    flex-direction: column;
    align-items: center;
  }

  .mission div {
    max-width: 90%;
    margin-top: 150px;
  }

  .mission div h3 {
    font-size: 30px;
  }

  .mission div p {
    font-size: 12px;
  }
}

/*button section*/

.button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 20px;
}

.skill-button {
  background-color: #f5f5f5;
  border: none;
  border-radius: 20px;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

.skill-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.5s;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
}

skill-button:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.skill-button:hover {
  background: linear-gradient(135deg, #e1bbe9, #e3b9ae);
  color: rgb(0, 0, 0);
}
/* skills section-------------------------------*/
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 50px;
  transition: transform 0.3s ease-in-out;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out forwards;
  animation: zoomOutEffect 6s infinite alternate ease-in-out;
}

@keyframes zoomOutEffect {
  0% {
      transform: scale(1);
      opacity: 1;
  }
  50% {
      transform: scale(0.8); /* Shrink the element to 80% of its size */
      opacity: 0.8; /* Make it slightly transparent */
  }
  100% {
      transform: scale(1);
      opacity: 1; /* Return to original size and full opacity */
  }
}




@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.skill-box {
  background: linear-gradient(135deg, #f4dfe4, #e6b9d0);
  color: rgb(0, 0, 0);
  width: 300px;
  padding: 15px;
  border-radius: 5px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
  z-index: 1;
}

.skill-box:nth-child(odd) {
  transform: translateY(20px);
}

.skill-box:nth-child(even) {
  transform: translateY(-20px);
}

.skill-box:hover {
  transform: scale(1.05);
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes parallaxEffect {
  0% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}

.skill-box {
  animation: parallaxEffect 0.5s ease-out forwards;
}

.skill-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.progress-bar {
  width: 100%;
  background: #ffffff;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(50px);
  animation: progressAnimation 1.5s ease-out forwards;
}

@keyframes progressAnimation {
  0% {
    width: 0%;
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    width: 100%;
    opacity: 1;
    transform: translateY(0);
  }
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #452f52, #7a3b8c);
  width: 0%;
  border-radius: 5px;
  transition: width 1.5s ease-in-out;
}

.progress-bar::after {
 /* Show percentage */
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: bold;
  color: #000;
}

/* Tools Section */
.tools-section {
  margin-top: 30px;
  text-align: center;
  animation: fadeIn 1s ease-out;
}

.tools-section h2{
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  animation: slideIn 0.8s ease-out;
}

.tools-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  animation: slideIn 1s ease-out;
}

.tool-icon {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: white;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
  animation: scaleIn 1s ease-out forwards;
}

@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.tool-icon:hover {
  transform: scale(1.2);
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.4);
}

.tool-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
} 

.tool-icon:hover img {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .skills-container {
      flex-direction: column;
      align-items: center;
  }

  .skill-box {
      width: 90%;
  }

  .tools-container {
      gap: 10px;
  }

  .tool-icon {
      width: 50px;
      height: 50px;
  }
}

@media (max-width: 480px) {
  .skill-box {
      width: 80%;
  }

  .tool-icon {
      width: 40px;
      height: 40px;
  }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideIn {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

html {
  scroll-behavior: smooth;
}

/* projects section beginner----------------------*/

@keyframes gradientBG {
  0% { background: #fff0f3; }
  50% { background: #fce4ec; }
  100% { background: #fff0f3; }
}

.project-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #fff0f3;
  margin-bottom: 40px;
  animation: gradientBG 6s infinite alternate ease-in-out
 
}

@keyframes fadeScale {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

.project-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: #333;
  position: relative;
  letter-spacing: 1px;
  animation: fadeScale 1.2s ease-in-out;
}

@keyframes glowEffect {
  0% { box-shadow: 0 0 5px rgba(255, 105, 180, 0.5); }
  50% { box-shadow: 0 0 20px rgba(255, 105, 180, 0.8); }
  100% { box-shadow: 0 0 5px rgba(255, 105, 180, 0.5); }
}


.project-content {
  display: flex;
  background: #030303;
  padding: 20px;
  border-radius: 10px;
  margin-left: 70px;
  margin-right: 70px;
 

}

.project-left {
  width: 30%; /* Keep it as a long column */
  padding: 20px;
  border-right: 2px solid #ccc;
  background-color: #ffffff;
  border-radius: 10px;
}

.para{
  padding: 20px;
  font-size: 16px;
  font-style: italic;
}

.italicskills{
font-size: 14px;
padding-left: 20px;
padding-right: 20px;
}

.project-left h3{
  font-size: 28px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
}

.project-right {
  width: 70%;
  padding: 20px;
}

/* Grid layout for the right section */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three columns */
  gap: 10px;
  animation: depthEffect2 6s infinite alternate ease-in-out;
}

@keyframes depthEffect2 {
  0% {
      transform: scale(1) translateZ(0);
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  }
  50% {
      transform: scale(1.05) translateZ(10px);
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  }
  100% {
      transform: scale(1) translateZ(0);
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  }
}

/* Project Box Styling */
.project-box {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Image Styling: Ensure images fill the container without distortion */
.project-box img {
  width: 100%;
  height: 100%; /* Ensure full height */
  object-fit: cover; /* Maintain aspect ratio and fill the box */
  border-radius: 5px;
  transition: transform 0.3s ease-in-out, box-shadow 0.6s ease-in-out;
  animation: glowEffect 4s infinite alternate ease-in-out;
}

@keyframes depthEffect {
  0% { transform: perspective(500px) rotateX(2deg) rotateY(-2deg); }
  50% { transform: perspective(500px) rotateX(-2deg) rotateY(2deg); }
  100% { transform: perspective(500px) rotateX(2deg) rotateY(-2deg); }
}

/* Button Styling */
.project-box button {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  cursor: pointer;
  margin-bottom: 10px;
}

.project-box button:hover{
  transform: translateX(-45%)
}

/* Grid layout for image placement */
/* First row: 3 images */
.project-box:nth-child(1),
.project-box:nth-child(2),
.project-box:nth-child(3) {
  grid-column: span 1;
  aspect-ratio: 4 / 3; /* Maintain consistent aspect ratio */
}

/* Second row: 2 images, first one spans 2 columns */
.project-box:nth-child(4) {
  grid-column: span 2;
  aspect-ratio: 16 / 9; /* Make it wider */
}

.project-box:nth-child(5) {
  grid-column: span 1;  /* Same width as other images */
  grid-row: span 2;     /* Same height as 4th child */
  height: 100%;  
}

/* Third row: 3 images */
.project-box:nth-child(6),
.project-box:nth-child(7)
{
  grid-column: span 1;
  aspect-ratio: 4 / 3;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .project-content {
      flex-direction: column;
  }

  .project-left {
      width: 100%; /* Full width on smaller screens */
      border-right: none;
      text-align: center;
      padding: 10px;
      border-radius: 10px;
  }

  .project-right {
      width: 100%;
  }

  .project-grid {
      grid-template-columns: repeat(2, 1fr); /* Switch to 2 columns */
  }

  .project-grid .project-box {
      grid-column: span 1;
  }

  .project-box:nth-child(4) {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  .project-content {

   padding: 40px;
  
  }


  .project-left h3{
    font-size: 22px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
   
    
    padding-left:0;
  }
  
}

@media (max-width: 768px) {
  .project-grid {
      grid-template-columns: repeat(1, 1fr); /* Switch to 1 column */
      grid-column: span 0.7;
  }

  .project-box {
      aspect-ratio: 16 / 9; /* Ensure uniform image display */
  }

  .project-content {
  
    margin-left: 20px;
    margin-right: 20px;
   padding: 40px;
  
  }

  .project-left {
    width: 100%; /* Full width on smaller screens */
    border-right: none;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    
}
}

/*---------------*/

/* Hover Effect for Each Project Image */
.project-box:nth-child(1) img {
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}
.project-box:nth-child(1):hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.project-box:nth-child(2) img {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.project-box:nth-child(2):hover img {
  transform: rotate(5deg);
  box-shadow: 0 0 15px rgba(0, 255, 127, 0.8);
}

.project-box:nth-child(3) img {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.project-box:nth-child(3):hover img {
  transform: scale(1.05);
  opacity: 0.8;
}

.project-box:nth-child(4) img {
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}
.project-box:nth-child(4):hover img {
  transform: skewX(-5deg);
  filter: contrast(1.5);
}

.project-box:nth-child(5) img {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.project-box:nth-child(5):hover img {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.8);
}

.project-box:nth-child(6) img {
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}
.project-box:nth-child(6):hover img {
  transform: scale(1.1) rotateY(10deg);
  filter: saturate(1.5);
}

.project-box:nth-child(7) img {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.project-box:nth-child(7):hover img {
  transform: rotate(-5deg);
  opacity: 0.7;
}



/* projects section Intermediate----------------------*/


.project-content2 {
  display: flex;
  background: #000000;
  padding: 20px;
  border-radius: 10px;
  margin-left: 70px;
  margin-right: 70px;
  margin-top: 30px;
  
}

.project-left2 {
  width: 30%; /* Keep it as a long column */
  padding: 20px;
  border-right: 2px solid #ccc;
  background-color: #ffffff;
  border-radius: 10px;
}

.para2 {
  padding: 20px;
  font-size: 16px;
  font-style: italic;
}

.italicskills2 {
  font-size: 14px;
  padding-left: 20px;
  padding-right: 20px;
}

.project-left2 h3 {
  font-size: 28px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
}

.project-right2 {
  width: 70%;
  padding: 20px;
}

.project-grid2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  animation: depthEffect2 6s infinite alternate ease-in-out;
}

.project-box2 {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.project-box2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.project-box2 button {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  cursor: pointer;
}

.project-box2 button:hover{
  transform: translateX(-45%);
}

.project-box2:nth-child(1),
.project-box2:nth-child(2),
.project-box2:nth-child(3) {
  grid-column: span 1;
  aspect-ratio: 4 / 3;
}

.project-box2:nth-child(4) {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.project-box2:nth-child(5) {
  grid-column: span 1;
  grid-row: span 2;
  height: 100%;
}

.project-box2:nth-child(6),
.project-box2:nth-child(7),
.project-box2:nth-child(9) {
  grid-column: span 1;
  aspect-ratio: 4 / 3;
}

.project-box2:nth-child(8) {
  grid-column: span 2; /* Double the width */
  aspect-ratio: 8 / 3; /* Adjust the ratio to maintain the same height */
}


.project-box2:nth-child(1) img {
  transform-origin: center;
}
.project-box2:nth-child(1):hover img {
  transform: scale(1.1) rotate(2deg);
  filter: brightness(1.2);
}

.project-box2:nth-child(2) img {
  transform-origin: bottom;
}
.project-box2:nth-child(2):hover img {
  transform: translateY(-5px) rotate(-2deg);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

.project-box2:nth-child(3) img {
  transform-origin: top;
}
.project-box2:nth-child(3):hover img {
  transform: scale(1.05) rotate(3deg);
  filter: saturate(1.5);
}

.project-box2:nth-child(4) img {
  transform-origin: left;
}
.project-box2:nth-child(4):hover img {
  transform: scale(1.1) skewX(5deg);
  filter: contrast(1.3);
}

.project-box2:nth-child(5) img {
  transform-origin: right;
}
.project-box2:nth-child(5):hover img {
  transform: scale(1.05) rotateY(15deg);
  box-shadow: 0px 10px 30px rgba(255, 140, 0, 0.5);
}

.project-box2:nth-child(6) img {
  transform-origin: center;
}
.project-box2:nth-child(6):hover img {
  transform: scale(1.1) rotateX(10deg);
  filter: hue-rotate(30deg);
}

.project-box2:nth-child(7) img {
  transform-origin: bottom right;
}
.project-box2:nth-child(7):hover img {
  transform: translateX(-5px) translateY(-5px);
  box-shadow: 0px 5px 15px rgba(0, 255, 127, 0.6);
}

.project-box2:nth-child(8) img {
  transform-origin: center;
}
.project-box2:nth-child(8):hover img {
  transform: scale(1.05) skewY(3deg);
  filter: sepia(0.4);
}

.project-box2:nth-child(9) img {
  transform-origin: bottom left;
}
.project-box2:nth-child(9):hover img {
  transform: translateX(5px) translateY(-5px);
  box-shadow: 0px 5px 15px rgba(255, 0, 127, 0.6);
}

@media (max-width: 1024px) {
  .project-content2 {
      flex-direction: column;
  }

  .project-left2 {
      width: 100%;
      border-right: none;
      text-align: center;
      padding: 10px;
      border-radius: 10px;
  }

  .project-right2 {
      width: 100%;
  }

  .project-grid2 {
      grid-template-columns: repeat(2, 1fr);
  }

  .project-grid2 .project-box2 {
      grid-column: span 1;
  }

  .project-box2:nth-child(4),
  .project-box2:nth-child(8){
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  .project-content2 {
    padding: 40px;
  }

  .project-left2 h3 {
    font-size: 22px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .project-grid2 {
      grid-template-columns: repeat(1, 1fr);
      grid-column: span 0.7;
  }

  .project-box2 {
      aspect-ratio: 16 / 9;
  }

  .project-content2 {
    margin-left: 20px;
    margin-right: 20px;
    padding: 40px;
  }

  .project-left2 {
    width: 100%;
    border-right: none;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
  }
}


/* projects section advanced----------------------*/



.project-content3 {
  display: flex;
  background: #000000;
  padding: 20px;
  border-radius: 10px;
  margin-left: 70px;
  margin-right: 70px;
  margin-top: 30px;
}


.project-content3, .project-box3 {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Effects */
.project-box3:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}

.project-left3 {
  width: 30%; /* Keep it as a long column */
  padding: 20px;
  border-right: 2px solid #ccc;
  background-color: #ffffff;
  border-radius: 10px;
}

.para3 {
  padding: 20px;
  font-size: 16px;
  font-style: italic;
}

.italicskills3 {
  font-size: 14px;
  padding-left: 20px;
  padding-right: 20px;
}

.project-left3 h3 {
  font-size: 28px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
}

.project-right3 {
  width: 70%;
  padding: 20px;
}

.project-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Default to 3 equal columns */
  gap: 10px;
  animation: depthEffect2 6s infinite alternate ease-in-out;
}

.project-box3 {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.project-box3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.project-box3:hover img {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-box3:hover {
  box-shadow: 0px 4px 15px rgba(0, 255, 204, 0.4);
}


.project-box3 button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  color: white;
  cursor: pointer;
}

.project-box3:nth-child(1) {
  grid-column: span 2;  /* Takes 2 columns */
  aspect-ratio: 16/9; /* Wider aspect ratio */
  width:100%
}

.project-box3:nth-child(2) {
  grid-column: span 1; /* Takes 1 column */
  aspect-ratio: 16 / 9; /* Standard aspect ratio */
  height: 100%;
  grid-row: span 2;
}

.project-box3:nth-child(3) {
  grid-column: span 2; /* Takes 1 column */
  aspect-ratio: 16/ 9; /* Standard aspect ratio */
  min-height: 500px;
}



@media (max-width: 1024px) {
  .project-content3 {
      flex-direction: column;
  }

  .project-left3 {
      width: 100%;
      border-right: none;
      text-align: center;
      padding: 10px;
      border-radius: 10px;
  }

  .project-right3 {
      width: 100%;
  }

  .project-grid3 {
      grid-template-columns: repeat(2, 1fr);
  }

  .project-box3 {
      grid-column: span 1;
  }

  .project-box3:nth-child(1),
  .project-box3:nth-child(2),
  .project-box3:nth-child(3) {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }



  .project-content3 {
    padding: 40px;
  }

  .project-left3 h3 {
    font-size: 22px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .project-grid3 {
      grid-template-columns: repeat(1, 1fr);
      grid-column: span 0.7;
  }

  .project-box3 {
      aspect-ratio: 16 / 9;
  }

  .project-content3 {
    margin-left: 20px;
    margin-right: 20px;
    padding: 40px;
  }

  .project-left3 {
    width: 100%;
    border-right: none;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
  }
}

/*  more projects-----------------*/

.gallery-projects-section {
  text-align: center;
  padding: 20px;
}

/*.gallery-more-projects-btn {
  
  color: white;
  padding: 10px 20px;
  font-size: 18px;
  
  cursor: pointer;
  border-radius: 5px;
  margin-bottom: 20px;
}*/

.gallery-projects-container {
  display: none; /* Hidden initially */
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

.gallery-project-box img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .gallery-projects-container {
      display: none; /* Keep hidden initially even on larger screens */
      grid-template-columns: repeat(4, 1fr);
  }
}


/*designs and arts------------------*/

/* Section Styling */
.gallery-section {
  padding: 40px;
  text-align: center;
  background-image: linear-gradient(to right, #f28482, #2a9d8f);
  color: white;
  overflow: hidden;
  border-radius: 25px;
  
  
}

/* Gallery Grid (Flexible Layout with Full Coverage) */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Flexible columns */
  gap: 20px;
  max-width: 100%;
  margin: auto;
  overflow-y: scroll; /* Enables vertical scrolling */
  max-height: 80vh; /* Restricts the height to create the scrolling effect */
  padding-bottom: 40px;
  
  
}





/* Individual Image Styling */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* Ensures full coverage */
}

/* Aspect Ratio Adjustments for Landscape & Portrait */
.gallery-item.landscape {
  aspect-ratio: 16 / 9; /* Landscape (16:9) */
  /* Allowing these to stretch across the grid properly */
}

.gallery-item.portrait {
  aspect-ratio: 9 / 16; /* Portrait (9:16) */
  /* Allowing these to stretch across the grid properly */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the box, maintaining aspect ratio */
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Hashtag Labels */
.tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  text-transform: uppercase;
}

.sizechange{
  min-height: 600px;
}
/* Different Colors for Each Tag */
.illustrator {
  background: #ff9f1c; /* Orange */
}

.photoshop {
  background: #3a86ff; /* Blue */
}

.ae {
  background: #8338ec; /* Purple */
}

/* Responsive Design - Large Screens (Desktop) */
@media (min-width: 1024px) {
  .gallery-container {
      grid-template-columns: repeat(3, 1fr); /* 3 columns on large screens */
      gap: 30px;
  }
}

/* Small Screens (Mobile & Tablets) */
@media (max-width: 768px) {
  .gallery-container {
      grid-template-columns: repeat(1, 1fr); /* 2 columns on smaller screens */
  }
}

/* Extra Small Screens (Mobile) */
@media (max-width: 480px) {
  .gallery-container {
      grid-template-columns: repeat(1, 1fr); /* 1 column on very small screens */
  }
}

/*cetificate section*/

.certificatehead {
  font-size: 80px;
  justify-content: center;
  text-align: center;
}

.container-certificate {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 100px;
  margin-bottom: 100px;
}

.container-certificate .glass {
  position: relative;
  width: 880px; /* Slightly reduced width */
  height: 600px; /* Increased height for a more balanced ratio (16:11) */
  background: linear-gradient(#fff2, transparent);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  transform: rotate(var(--r));
  margin: 0 -45px; 
  padding: 10px;
}

.container-certificate .glass[data-r] {
  transform: rotate(var(--r));
}

.container-certificate .glass:hover {
  transform: rotate(0deg);
  margin: 0 10px;
}

.container-certificate .glass::before {
  content: attr(data-text);
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.container-certificate .glass img {
  width: 95%;
  height: 50%; /* Slightly taller images */
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* Media Queries for Responsiveness */

/* Small Screens (Mobile) */
@media (max-width: 600px) {
  .container-certificate .glass {
    width: 250px;
    height: 320px; /* Maintain new ratio */
    margin: 0 -20px;
  }

  .container-certificate .glass img {
    width: 95%;
    height: 50%;
  }

  .certificatehead {
    font-size: 40px;
  }
}

/* Medium Screens (Tablets) */
@media (max-width: 1024px) {
  .container-certificate .glass {
    width: 300px;
    height: 380px; /* Slightly taller */
    margin: 0 -30px;
  }

  .container-certificate .glass img {
    width: 95%;
    height: 50%;
  }
}

/* Large Screens */
@media (min-width: 1200px) {
  .container-certificate .glass {
    width: 360px;
    height: 460px;
    margin: 0 -40px;
  }

  .container-certificate .glass img {
    width: 95%;
    height: 50%;
  }
}


/*footer section*/

/* Footer Style */
.footer {
  background-color: #f4e6e6; /* Light nude background */
  color: #6a4e23; /* Soft brown text */
  font-family: 'Lighttt', sans-serif; /* Lighttt font family */
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: 2px solid #d1c6b1; /* Subtle border for separation */
}

.footer-content {
  margin-bottom: 20px;
}

.footer-text {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 300; /* Light weight text for a calm feel */
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-link {
  text-decoration: none;
  color: #6a4e23; /* Soft brown */
  font-size: 16px;
  font-weight: 300;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #b6a57a; /* Soft golden accent on hover */
}

.social-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon img {
  width: 30px; /* Size of icons */
  height: auto;
  transition: transform 0.3s ease;
}

.social-icon:hover img {
  transform: scale(1.1); /* Slight zoom effect on hover */
}

.footer-copyright {
  font-size: 14px;
  color: #b6a57a; /* Soft golden for copyright text */
  margin-top: 10px;
}

/* Media Queries for Responsiveness */

/* For small screens (like mobile) */
@media (max-width: 600px) {
  .footer-content {
    margin-bottom: 15px;
  }

  .footer-links {
    flex-direction: column; /* Stack links vertically */
    gap: 10px;
  }

  .footer-link {
    font-size: 14px;
  }

  .social-icons {
    margin-top: 15px;
    flex-direction: column; /* Stack icons vertically */
    gap: 10px;
  }

  .social-icon img {
    width: 25px; /* Smaller icons for mobile */
  }

  .footer-text {
    font-size: 16px;
  }

  .footer-copyright {
    font-size: 12px; /* Smaller copyright text */
  }
}

/* For medium screens (tablets, small laptops) */
@media (max-width: 1024px) {
  .footer-links {
    gap: 15px;
  }

  .social-icons {
    margin-top: 20px;
  }

  .social-icon img {
    width: 28px; /* Slightly larger icons for tablets */
  }

  .footer-text {
    font-size: 17px;
  }

  .footer-copyright {
    font-size: 13px;
  }
}

/* For larger screens */
@media (min-width: 1200px) {
  .footer-text {
    font-size: 18px;
  }

  .footer-link {
    font-size: 16px;
  }

  .social-icon img {
    width: 30px; /* Default icon size */
  }

  .footer-copyright {
    font-size: 14px;
  }
}


/*view button*/


.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10rem;
  overflow: hidden;
  height: 2.5rem;
  background-size: 300% 300%;
  cursor: pointer;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#212121, #212121),
    linear-gradient(
      137.48deg,
      #ffdb3b 10%,
      #fe53bb 45%,
      #8f51ea 67%,
      #0044ff 87%
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
}

#container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

strong {
  z-index: 2;
  font-family: "Avalors Personal Use";
  font-size: 12px;
  letter-spacing: 5px;
  color: #ffffff;
  text-shadow: 0 0 4px white;
}

#glow {
  position: absolute;
  display: flex;
  width: 12rem;
}

.circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  animation: pulse_3011 4s infinite;
  z-index: -1;
}

.circle:nth-of-type(1) {
  background: rgba(254, 83, 186, 0.636);
}

.circle:nth-of-type(2) {
  background: rgba(142, 81, 234, 0.704);
}

.btn:hover #container-stars {
  z-index: 1;
  background-color: #212121;
}

.btn:hover {
  transform: scale(1.1);
}

.btn:active {
  border: double 4px #fe53bb;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.btn:active .circle {
  background: #fe53bb;
}

#stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

#stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
}

#stars::after {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
}

#stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
}

#stars::before {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
  opacity: 0.5;
}

@keyframes animStar {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-135rem);
  }
}

@keyframes animStarRotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}

@keyframes gradient_301 {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse_3011 {
  0% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}



/*next view*/

/* From Uiverse.io by rubyreapergaming */ 
@import url("s://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap");

.btn2 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10rem;
  overflow: hidden;
  height: 2.5rem;
  background-size: 300% 300%;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#161a25, #161a25),
    linear-gradient(
      137.48deg,
      #f5434f 10%,
      #631e29 45%,
      #000000 67%,
      #161a25 87%
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
  font-family: "Orbitron", sans-serif;
}



.btn2:hover #container-stars {
  z-index: 1;
  background-color: #161a25;
}

.btn2:hover {
  transform: scale(1.1);
}

.btn2:active {
  border: double 4px #631e29;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.btn2:active .circle {
  background: #631e29;
}



/*next view*/

.btn3 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10rem;
  overflow: hidden;
  height: 2.5rem;
  background-size: 300% 300%;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#212121, #212121), linear-gradient(137.48deg, #ffdb3b 10%, #ff9b17d7 45%, #f9ff41 67%, #feb200d7 87%);
  background-origin: border-box;
  background-clip: content-box, border-box;
}


.btn3:hover #container-stars {
  z-index: 1;
  background-color: #212121;
}

.btn3:hover {
  transform: scale(1.1)
}

.btn3:active {
  border: double 4px #FE53BB;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.btn3:active .circle {
  background: #FE53BB;
}




/* button more projects */ 


/* From Uiverse.io by adamgiebl */ 
.buttonmore {
  border: none;
  padding: 0.7em 2.4em;
  font-size: 18px;
  background: transparent;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  color: rgb(5, 8, 20);
  z-index: 1;
  font-family: inherit;
  font-weight: 500;
}

.buttonmore span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
  border: 4px solid rgb(62, 19, 61);
}

.buttonmore span::before {
  content: "";
  display: block;
  position: absolute;
  width: 8%;
  height: 500%;
  background: var(--lightgray);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-60deg);
  transition: all 0.3s;
}

.buttonmore:hover span::before {
  transform: translate(-50%, -50%) rotate(-90deg);
  width: 100%;
  background: rgb(186, 236, 221);
}

.buttonmore:hover {
  color: rgb(19, 5, 5);
}

.buttonmore:active span::before {
  background: #2751cd;
}